![]() |
DrawThemeModelessDialogFrame |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Draws a beveled outline inside the content area of a modeless dialog box.
OSStatus DrawThemeModelessDialogFrame ( const Rect *inRect, ThemeDrawState inState );
A pointer to a structure of type Rect. Before calling DrawThemeModelessDialogFrame, set the rectangle to the boundary of the window’s content area (that is, its port rectangle), inset by 1 pixel on each side, in local coordinates.
A value of type ThemeDrawState. Pass a constant specifying the state in which to draw the modeless dialog box frame; see
A result code.
The DrawThemeModelessDialogFrame function draws a beveled frame, no more than 2 pixels wide, that bounds the window’s content area. You can use this function to make a custom modeless dialog box theme-compliant; the Dialog Manager automatically draws the interior frame for standard dialog boxes.
If you use DrawThemeModelessDialogFrame to draw a frame for a modeless dialog box, your application must explicitly invalidate and redraw the frame area if the dialog box is resized.
This function is available with Appearance Manager 1.0.1 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)